﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="SouthernLand.Controls.ArticlesHomePage"
    CodeBehind="ArticlesHomePage.ascx.cs" %>
<%@ Register TagPrefix="southern" Namespace="SouthernLand.Common.Untilities" Assembly="SouthernLand" %>
<asp:Repeater runat="server" ID="rptCategory">
    <ItemTemplate>
        <tr>
            <td align="left" class="box-news-cate-title Title">
                <img src="<%=Globals.ImagesUrl()%>l.gif" border="0" align="absmiddle">
                <asp:HyperLink ID="hplNewsCateTitle" runat="server" CssClass="Title2"></asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td>
                <table align="center" width="100%" border="0">
                    <asp:Repeater runat="server" ID="rptArticles">
                        <ItemTemplate>
                            <tr>
                                <td align="left">
                                    <div style="padding-bottom: 3pt;">
                                        <asp:HyperLink ID="hplNewsTitle" runat="server" CssClass="NewsTitle"></asp:HyperLink><span
                                            class="NewsTime">(<%# Formatter.FormatDate((DateTime)Eval("PostDate")) %>)</span>
                                    </div>
                                    <table class="<%#Globals.CheckImage(Convert.ToString(Eval("ImageURL"))) %>" cellspacing="5"
                                        cellpadding="0" align="left" border="0">
                                        <tbody>
                                            <tr>
                                                <td class="BorderImage">
                                                    <southern:ImageObject Width="130" ImageFilter='off' BorderStyle="solid" ID="img1"
                                                        runat="server" ImagePath='<%# Globals.ApplicationPath  + "UserUpload/Articles/" %>'
                                                        ImageName='<%# Eval("ImageURL") %>' />
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <div style="text-align: justify; line-height: 18px">
                                        <%#Eval("Excerpt") %>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" class="read-more-box">
                                    <img src="<%=Globals.ImagesUrl()%>arrow.gif" />
                                    <asp:HyperLink ID="hplCateMore" runat="server" CssClass="ReadMore"></asp:HyperLink>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
        <tr>
            <td class="news-line-break">
            </td>
        </tr>
        <tr>
            <td height="10px;">
            </td>
        </tr>
    </ItemTemplate>
</asp:Repeater>
